import request from '@/axios';
import { baseUrl } from '@/config/env';

// 崇礼印象-分类列表
export const titleList = (data) => request({
    url: baseUrl + '/impression/title/list',
    method: 'post',
    data
});
// 崇礼印象-分类删除
export const titleDelete = (id) => request({
    url: baseUrl + `/impression/title/delete/${id}`,
    method: 'get'
});
// 崇礼印象-分类修改
export const titleUpdate = (data) => request({
    url: baseUrl + '/impression/title/update',
    method: 'post',
    data
});
// 崇礼印象-分类新增
export const titleAdd = (data) => request({
    url: baseUrl + '/impression/title/add',
    method: 'post',
    data
});
// 崇礼印象崇礼印象内容列表
export const contentList = (data) => request({
    url: baseUrl + '/impression/content/list',
    method: 'post',
    data
});
// 崇礼印象-删除崇礼印象内容
export const contentDelete = (id) => request({
    url: baseUrl + `/impression/content/delete/${id}`,
    method: 'get'
});
// 崇礼印象-修改崇礼印象内容
export const contentUpdate = (data) => request({
    url: baseUrl + '/impression/content/update',
    method: 'post',
    data
});
// 崇礼印象-新增崇礼印象内容
export const contentAdd = (data) => request({
    url: baseUrl + '/impression/content/add',
    method: 'post',
    data
});